package com.aat.rpc.dubbo.provider.service.impl;

import com.aat.rpc.dubbo.common.bean.Book;
import com.aat.rpc.dubbo.provider.service.BookService;

public class BookServiceImpl implements BookService {

	@Override
	public Book getBook() {
		Book b = new Book();
		b.setAuthor("李刚");
		b.setTitle("JAVA");
		b.setPrice(125.99);
		return b;
	}

	@Override
	public Book getBook(String id) {
		Book b = new Book();
		b.setAuthor("李刚");
		b.setTitle("JAVA");
		b.setPrice(125.99);
		return b;
	}

}
